<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0,user-scalable=no,minimal-ui">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../img/asset-favico.ico">
    <title>传智健康</title>
    <link rel="stylesheet" href="../css/page-health-index.css"/>
    <link rel="stylesheet" href="../css/page-health-login.css"/>
    <link rel="stylesheet" href="../plugins/elementui/index.css"/>
    <script src="../plugins/jquery/dist/jquery.min.js"></script>
    <script src="../plugins/healthmobile.js"></script>
    <script src="../plugins/vue/vue.js"></script>
    <script src="../plugins/vue/axios-0.18.0.js"></script>
    <script src="../plugins/elementui/index.js"></script>
</head>


<body data-spy="scroll" data-target="#myNavbar" data-offset="150">
<div class="app">
    <!-- 页面头部 -->
    <div class="top-header">
        <span class="f-left"></span>
        <span class="center">传智健康</span>
        <span class="f-right"><i class="icon-more"></i></span>
    </div>

    <!-- 页面内容 -->
    <div class="contentBox" style="background-color: #f6f6f6">
        <br/>
        <br/>
        <br/>
        <div style="text-align:center">
            服务器爆了！！！
        </div>
        <div class="img-parent">
            <img src="../img/serverPop.jpg" width="100%" height="100%"/>
        </div>


        <div style="text-align:center">
            <el-button-group>
                <el-button type="success" onclick="gobackpre()" icon="el-icon-arrow-left">兄弟别气馁！再试一次</el-button>
                <el-button type="warning" onclick="goBackToIndex()">回到首页再逛逛<i
                        class="el-icon-arrow-right el-icon--right"></i></el-button>
            </el-button-group>
        </div>

        <div style="text-align:center">
            如无任何操作<b id="num">5</b>秒后自动返回上一页
        </div>
        <br/>
        <br/>
        <br/>
        <br/>
        <br/>

    </div>
</div>
<script>
    // 倒计时5秒携带上次数据返回上一个页面
        function countDown(secs) {
            if (--secs > 0) {
                document.getElementById("num").innerText = secs;
                setTimeout(function () {
                    countDown(secs)
                }, 1000);
            }
            else {
                window.location.href = 'orderInfo.html';
            }
        }
        countDown(5);
    //返回首页
        function goBackToIndex() {
        sessionStorage.removeItem("error")
        window.location.href = 'index.html';
    }

    //返回上一个页面
    function gobackpre() {
        window.location.href = 'orderInfo.html';
    }
</script>
<script>
    var vue = new Vue({
        el: ".app",
        data: {},
        method: {
        }
    });
</script>
</body>
</html>